<!DOCTYPE html>
<video id="video" allowfullscreen></video>
<script>
    if (window.internals)
        runPixelTests = true;
</script>
<script src="../../../fullscreen/full-screen-test.js"></script>
<script>
    var video = document.getElementById('video');

    waitForEvent(document, 'webkitfullscreenchange', function()
    {
        endTest();
    });

    runWithKeyDown(function()
    {
        video.webkitRequestFullScreen();
    });
</script>

